<!DOCTYPE html>
<html lang="zh-cn">
	<head>
		<meta charset="utf-8">
		<title>控制后台</title>
		<meta name="renderer" content="webkit">
		<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
		<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
		<link rel="stylesheet" href="/app/admin/component/pear/css/pear.css" />
		<link rel="stylesheet" href="/app/admin/demos/css/console1.css" />
	</head>
	<body class="pear-container">
		<div>

			<div class="layui-row layui-col-space10">

				<div class="layui-col-md2">
					<div class="layui-card">
						<div class="layui-card-header">账号有效期</div>
						<div class="layui-card-body" id="value6">
							/
						</div>
					</div>
				</div>

				<div class="layui-col-md2">
					<div class="layui-card">
						<div class="layui-card-header">今日剩余数据总量</div>
						<div class="layui-card-body" id="value8">
							0
						</div>
					</div>
				</div>

				<div class="layui-col-md2">
					<div class="layui-card">
						<div class="layui-card-header">今日消费数量</div>
						<div class="layui-card-body" id="value5">
							0
						</div>
					</div>
				</div>

			</div>

			<div class="layui-row layui-col-space10">

				<div class="layui-col-md2">
					<div class="layui-card">
						<div class="layui-card-header">解析成功</div>
						<div class="layui-card-body" id="value1">
							0
						</div>
					</div>
				</div>

				<div class="layui-col-md2">
					<div class="layui-card">
						<div class="layui-card-header">无效spu</div>
						<div class="layui-card-body" id="value7">
							0
						</div>
					</div>
				</div>

				<div class="layui-col-md2">
					<div class="layui-card">
						<div class="layui-card-header">解析失败</div>
						<div class="layui-card-body" id="value9">
							0
						</div>
					</div>
				</div>

				<div class="layui-col-md2">
					<div class="layui-card">
						<div class="layui-card-header">上传成功</div>
						<div class="layui-card-body" id="value2">
							0
						</div>
					</div>
				</div>

				<div class="layui-col-md2">
					<div class="layui-card">
						<div class="layui-card-header">到家已经在</div>
						<div class="layui-card-body" id="value3">
							0
						</div>
					</div>
				</div>

				<div class="layui-col-md2">
					<div class="layui-card">
						<div class="layui-card-header">上传失败</div>
						<div class="layui-card-body" id="value4">
							0
						</div>
					</div>
				</div>

			</div>

			<div class="layui-row layui-col-space10">

				<div class="layui-col-md12">
					<div class="layui-card">
						<div class="layui-card-body">
							<blockquote class="layui-elem-quote" style="margin-top: 10px;">
								<div class="layui-text">
									<ul>
										<li>以上数据为今日操作数据</li>
										<li>账号有效期：如果是按月购买的，账号有效期指的是到期时间</li>
									</ul>
								</div>
							</blockquote>
						</div>
					</div>
				</div>

			</div>
		</div>
		<!--</div>-->
		<script src="/app/admin/component/layui/layui.js?v=2.8.12"></script>
		<script src="/app/admin/component/pear/pear.js"></script>
		<script>
			layui.use(['layer', 'echarts', 'element', 'count'], function() {
				var $ = layui.jquery,
					layer = layui.layer,
					element = layui.element,
					count = layui.count,
					echarts = layui.echarts;

				// 获取订单

				count.up("value1", {
					time: 1000,
					num: <?=$today_ana_num?>,
					bit: 0,
					regulator: 50
				})

				count.up("value2", {
					time: 1000,
					num: <?=$today_success_num?>,
					bit: 0,
					regulator: 50
				})

				count.up("value3", {
					time: 1000,
					num: <?=$today_existence_num?>,
					bit: 0,
					regulator: 50
				})

				count.up("value4", {
					time: 1000,
					bit: 0,
					num: <?=$today_error_num?>,
					regulator: 50
				})

				count.up("value5", {
					time: 1000,
					bit: 0,
					num: <?=$today_consume_num?>,
					regulator: 50
				})

				$('#value6').text("<?=$stop_at?>");

				count.up("value7", {
					time: 1000,
					bit: 0,
					num: <?=$today_not_find_num?>,
					regulator: 50
				})

				$('#value8').text("<?=$max?>"+' / '+"<?=$surplus_num?>");

				count.up("value9", {
					time: 1000,
					bit: 0,
					num: <?=$toady_ana_error_num?>,
					regulator: 50
				})

			});
		</script>
	</body>
</html>
